<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<div
	style="position: absolute; left: 10px; width: 30%; text-align: right;">


 	<html:form action="/owner/insertCvCommit.do"  method="post">
	
	<label>Nome: <html:text styleId="nome" property="curriculumVitae.nome"/></label><br/>
	<label>Cognome: <html:text styleId="cognome" property="curriculumVitae.cognome" /></label><br/>
	<label>File: <html:text styleId="file" property="curriculumVitae.file" /></label><br/>
	<label>Eta: <html:text styleId="eta" property="curriculumVitae.eta"    /></label><br/>
	<label>Nota: <html:text styleId="note" property="curriculumVitae.note" /></label><br/>
	 
	 <html:radio property="curriculumVitae.sesso" value="M"><i class="fa fa-male"></i></html:radio>
	 <html:radio property="curriculumVitae.sesso" value="F"><i class="fa fa-female"></i></html:radio>
	 	<br/><br/>
	
	<html:submit>
		<logic:present property="curriculumVitae.nome" name="BeanCurriculumForm">update</logic:present>
		<logic:notPresent property="curriculumVitae.nome" name="BeanCurriculumForm">save</logic:notPresent>
	</html:submit>
	
	<%-- <a
		onclick="accessFunction(nome.value,cognome.value,file.value,eta.value,male.checked,note.value,'M')"><i class="fa fa-edit" style="color: blue; font-size: x-large;"></i> </a>
	<a onclick="deleteCV('<bean:write name="cv" property="id"/>')"><i class="fa fa-trash-o" style="color: red; font-size: x-large;"></i></a>
 --%>
</html:form>
</div>


<div
	style="position: absolute; right: 20px; height: 80% !important; overflow: auto; width: 40%; text-align: left; ">

	<logic:present property="curriculumVitae.nome" name="BeanCurriculumForm">
		<a style="color:blue;  cursor:pointer; text-shadow: 1px 1px blue" onclick="loadResultDivOwner('<c:url value="/owner/OwnerGetRootNodesA.do" />');">Gestisci Competenze</a>
	
	</logic:present>
	<div class="treeDiv">
	</div>
	
	
	</div>